using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Drawing;

public partial class admin_Admin : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
            if (Session["manv"] == null)
            {
                Response.Redirect("~/admin/A_dangnhap.aspx");
               
            }
            //else
            //    {
            //loaddata();
        
               
            //else
            //    {
            //        //int id = int.Parse(Session["manv"].ToString());
            //        //HyperLink1.NavigateUrl = "~/admin/A_suanhanvien.aspx?id=" + id;
            //        //string tennhanvien = (string)(Session["taikhoan"]);


                    
            //        //lbnhanvien.Text = lbnhanvien.Text + " " + tennhanvien;
            //        //lbnhanvien.ForeColor = Color.SeaGreen;
            //        //lbnhanvien.Visible = true;
            //    }
        //}
        
    }

    //private void loaddata()
    //{
    //    string tennhanvien = (string)(Session["taikhoan"]);



    //    lbnhanvien.Text = lbnhanvien.Text + " " + tennhanvien;
    //    lbnhanvien.ForeColor = Color.SeaGreen;
    //    lbnhanvien.Visible = true;
    //}
    
    
}
